package com.bkitmobile.kesu.android.ClassInfo;

public class RegisterInfo {
	private String id, pass, fName, lName, sex, email;
	private int date, year, month;
	private String img;
	public String getBDate (){
		
		return "" +(date < 10 ? "0":"") + date + "/" + (month < 10 ? "0":"") + month + "/" + year;
	}
	public int getDay()
	{
		return date;
	}
	public int getYear()
	{
		return year;
	}
	public int getMonth()
	{
		return month;
	}
	public void setDate(int date, int month, int year) {
		this.date = date;
		this.month = month;
		this.year = year;
	}
	public void setDate(String str) {
		String []arr = str.split("/");
		date = Integer.parseInt(arr[0]);
		month = Integer.parseInt(arr[1]);
		year = Integer.parseInt(arr[2]);
	}
	public void setlName(String lName) {
		this.lName = lName;
	}
	public String getlName() {
		return lName;
	}
	public void setPass(String pass) {
		this.pass = pass;
	}
	public String getPass() {
		return pass;
	}
	public void setfName(String fName) {
		this.fName = fName;
	}
	public String getfName() {
		return fName;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getSex() {
		return sex;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getId() {
		return id;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getEmail() {
		return email;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getImg() {
		return img;
	}
}